home *** CD-ROM | disk | FTP | other *** search
/ Macworld Expo - Develope…Central & Net Innovations / Developer Central and Net Innovators (MacWorld Expo) (January 1999).iso / Developer Central / Bowers Development / Demo AppMaker / Examples / C⁄C++ OS8 / Everything / DModelessStuffData.h < prev    next >
Encoding:
Text File  |  1998-09-06  |  873 b   |  44 lines  |  [TEXT/CWIE]

  1. // DModelessStuffData -- data class for Everything
  2.  
  3. #pragma once
  4.  
  5. #include "AMSignaler.h"
  6.  
  7.  
  8. const long    idTools3        = 'Too3';
  9. const long    idFromValuesList4        = 'Fro5';
  10. const long    idFromMenu3        = 'Fro6';
  11. const long    idTextList3        = 'Tex6';
  12.  
  13. class AMEngine;
  14.  
  15. //----------
  16. class DModelessStuffData : public AMSignaler {
  17. public:
  18.                 DModelessStuffData ();
  19.     virtual        ~DModelessStuffData ();
  20.  
  21. public:
  22.     void        ReadFromFile    (AMEngine*        engine);
  23.     void        WriteToFile        (AMEngine*        engine);
  24.  
  25. public:
  26.     SInt16        GetTools3 () const;
  27.     void        SetTools3    (SInt16        inValue);
  28.  
  29.     SInt16        GetFromValuesList4 () const;
  30.     void        SetFromValuesList4    (SInt16        inValue);
  31.  
  32.     SInt16        GetFromMenu3 () const;
  33.     void        SetFromMenu3    (SInt16        inValue);
  34.  
  35.     SInt16        GetTextList3 () const;
  36.     void        SetTextList3    (SInt16        inValue);
  37.  
  38. protected:
  39.     SInt16        mTools3;
  40.     SInt16        mFromValuesList4;
  41.     SInt16        mFromMenu3;
  42.     SInt16        mTextList3;
  43. };
  44.